home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilstem / util3 / util1.arc / COLORSET.DOC < prev    next >
Encoding:
Text File  |  1988-10-27  |  2.8 KB  |  64 lines

  1.          COLORSET (Automatic Color Setter)       Charlie Butrico
  2.          Command                                           No. 4
  3.  
  4.          -------------------------------------------------------
  5.  
  6.          Purpose:  Memory-resident utility that sets the
  7.                    foreground, background, and border colors on
  8.                    color systems, and prevents attempts by most
  9.                    applications software to reset these colors
  10.                    to gray-on-black.
  11.  
  12.          Format:   [d:][path]COLORSET FG/BG BORD
  13.  
  14.          Remarks:  While dozens of small programs can set your
  15.                    screen colors, many popular programs (such as
  16.                    dBase II) will reset them to a drab gray-on-
  17.                    black. The first time you execute COLORSET,
  18.                    it will set your colors, remain in memory,
  19.                    look for such resetting instructions, and
  20.                    will instead set the colors to the ones you
  21.                    specified. Later executions of COLORSET will
  22.                    update the attributes only.
  23.  
  24.                    FG/BG is the foreground and background color
  25.                    (a decimal number from 0 to 255).  To
  26.                    calculate FG/BG, multiply the number of the
  27.                    background color by 16 and add the number of
  28.                    the foreground color to it.
  29.  
  30.          Example:  The FG/BG number for blue text on a white
  31.                    background is 113, i.e., ( (7*16) + 1 ).
  32.  
  33.                    The number for red text on a cyan background
  34.                    is 52, i.e., ( (3*16) + 4 ).
  35.  
  36.                    BORD is the border number (a decimal number
  37.                    from 0 to 15).
  38.  
  39.                    Keying just one number or using COLORSET on
  40.                    an EGA will change only the foreground and
  41.                    background colors.
  42.  
  43.                    After running COLORSET, the DOS CLS command
  44.                    will clear the screen to the colors you chose
  45.                    rather than to the default DOS gray-on-black.
  46.  
  47.                    Notes:
  48.  
  49.                    1.   DOS does not permit you to use bright
  50.                         background colors; trying a FG/BG number
  51.                         higher than 127 will produce text that
  52.                         blinks.
  53.  
  54.                    2.   ========== COLOR CHART ==========
  55.  
  56.                         0-Black           8-Gray
  57.                         1-Blue            9-Bright Blue
  58.                         2-Green          10-Bright Green
  59.                         3-Cyan           11-Bright Cyan
  60.                         4-Red            12-Bright Red
  61.                         5-Magenta        13-Bright Magenta
  62.                         6-Brown          14-Yellow
  63.                         7-White          15-Bright White
  64.